package com.zd.common.dao;

import java.util.List;

import com.zd.common.bean.model.TicketOrder;
import com.zd.common.dao.common.BaseDao;
import com.zd.common.dao.common.WhereEntity;

/**
 * 
 * @author lishi
 * @date 2018年11月8日 上午9:05:27
 */
public interface TicketOrderDao extends BaseDao<TicketOrder> {
	/**
	 * 今日数据统计
	 * 
	 * @param params
	 * @return
	 * @throws Exception
	 */
	int dailyOrderStatis(List<WhereEntity> whereList) throws Exception;

	/**
	 * 近7日卖票统计
	 * 
	 * @param params
	 * @return
	 * @throws Exception
	 */
	List<TicketOrder> sellTickStatisLast7Day(List<WhereEntity> whereList) throws Exception;

	/**
	 * 近7日卖票渠道统计
	 * 
	 * @param params
	 * @return
	 * @throws Exception
	 */
	List<TicketOrder> sellTickChannelStatisLast7Day(List<WhereEntity> whereList) throws Exception;
	
	/**
	 * 卖票统计
	 * 
	 * @param params
	 * @return
	 * @throws Exception
	 */
	TicketOrder sellTickStatis(List<WhereEntity> whereList) throws Exception;
}
